package com.bj58.disconf.web;

import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.bj58.wf.mvc.BeatContext;

public class PrintBeat {

    protected static final Logger LOG = LoggerFactory.getLogger(PrintBeat.class);

    public static void printBeat(BeatContext beat) {
        Map<String, String[]> maps = beat.getRequest().getParameterMap();
        LOG.info("...>" + beat.getRequest().getRequestURI());
        for (String key : maps.keySet()) {
            LOG.info(key + ":" + maps.get(key)[0]);
        }
    }
}
